import itertools as it

a = [1, 2]
b = [3, 4]
# 排列组合
# for i in it.permutations(a):
#     print(i)
print()
# for i in it.combinations(a, 4):
#     print(i)


for i in it.product(a, repeat=3):
    print(i)
